package com.itheima.domain.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/07/11 14:27
 * @Description: 员工实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Emp {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Integer gender;
    private String phone;
    private Integer job;
    private Integer salary;
    private String image;
    private LocalDate entryDate;
    private Integer deptId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    //所属部门名称
    private String deptName;

    //工作经历列表
    private List<EmpExpr> exprList;
}
